home *** CD-ROM | disk | FTP | other *** search
- echo off
- if "%1" == "" goto HELP
- echo Setting Printer Options:
- goto %1 Rem - Go Execute Proper Command
- :HELP
- cls
- echo The Following Printer Commands Are Available:
- echo .
- echo WIDE - Double Width COND - Condensed Mode
- echo ULON - Underline On ULOFF - Underline Off
- echo BOLD - Double Strike CORR - Correspondance Mode
- echo DATA - Data Proc Mode ELITE - Elite Mode
- echo RESET - Resets Printer PAGE - Page Feed
- echo .
- echo Enter: %0 command1 command2 . . . commandN
- goto END
- :WIDE
- echo {a-31} > lpt1
- goto SPEAK
- :COND
- echo {a-29} > lpt1
- goto SPEAK
- :ULON
- echo {esc}{C} > lpt1
- goto SPEAK
- :ULOFF
- echo {esc}{D} > lpt1
- goto SPEAK
- :BOLD
- echo {esc}{T} > lpt1
- goto SPEAK
- :DATA
- echo {esc}{0} > lpt1
- goto SPEAK
- :CORR
- echo {esc}{1} > lpt1
- goto SPEAK
- :ELITE
- ECHO {a-28} > lpt1
- goto SPEAK
- :RESET
- echo {a-24} > lpt1
- goto SPEAK
- :PAGE
- echo {a-12} > lpt1
- :SPEAK Rem - Prompt User
- echo . "%1" Sent To Printer
- shift Rem - Shift to Next DOS Parameter
- if not "%1" == "" goto %1 Rem - Execute Next Command in
- Parameter List
- :END